/**
 * @author mouliu
 * @create 2018-04-09-下午12:27
 */
public class MyWorker extends Worker {
    public static Object handle(Task input){
       Object output = null;
        try {
            Thread.sleep(500);
            output = input.getPrice();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return output;
    }
}
